import { createSSRApp } from "vue";
import App from "./App.vue";
import store from "./store"
import uviewPlus from 'uview-plus'

export function createApp() {
  const app = createSSRApp(App)
  app.use(store)
  app.use(uviewPlus)
  // @ts-ignore
  uni.$u.config.unit = 'rpx'
  return {
    app,
  };
}
